<div class="layui-col-md3 article-right">
    <div>
        <div class="right-item bg-white">
            <div>
                <form  class="layui-form">
                    <div class="layui-form-item">
                        <div class="layui-input-inline search-input">
                            <input type="text" name="keyword" placeholder="请输入关键字" value="{$keyword}" autocomplete="off" class="layui-input">
                        </div>
                        <div class="layui-form-mid" style="padding: 0!important;">
                            <button type="button" class="layui-btn layui-btn-normal" lay-submit="" lay-filter="doSearch">搜 索</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        <div class="right-item bg-white">
            <div class="item-title">
                &nbsp;最新文章
            </div>
            {volist name='newArticleList' id='item'}
            <div class="right-article-a">
                <a href="{:url('/article/' . $item.id)}"  title="{$item.title}" class="rank-item" target="_blank">
                    <div class="article-title">
                        {$item.title}
                    </div>
                </a>
            </div>
            {/volist}
        </div>
        <div class="right-item bg-white margin-top">
            <div class="item-title">
                &nbsp;热门文章
            </div>
            {volist name='hotArticleList' id='item'}
            <div  class="right-article-a">
                <a href="{:url('/article/' . $item.id)}" title="{$item.title}" class="rank-item" target="_blank">
                    <div class="article-title">
                        {$item.title}
                    </div>
                </a>
            </div>
            {/volist}
        </div>
        <div class="right-item bg-white margin-top">
            <div class="item-title">
                &nbsp;标签
            </div>
            <div class="article-tag">
                {notempty name="tagList"}
                {volist name='tagList' id='tag'}
                <a target="_blank" href="{:url('/tag/' . $tag.id)}">
                    {$tag.name}
                </a>
                {/volist}
                {/notempty}
            </div>
        </div>
    </div>
</div>